import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RichTextComponent } from './rich-text/rich-text.component';
import { RouterModule, Routes } from '@angular/router';
import { EditorModule } from '@tinymce/tinymce-angular';
import { QuillModule } from 'ngx-quill';

const routes: Routes = [
  {path: 'admin', component: RichTextComponent},

];


@NgModule({
  declarations: [
    RichTextComponent
  ],
  imports: [
    RouterModule.forChild(routes),
    CommonModule,
    EditorModule,
    QuillModule.forRoot()
  ]
})
export class AdminModule { }
